{
  enable = true;
  defaultEditor = true;
  package = helix.packages.${pkgs.stdenv.hostPlatform.system}.default;
  extraPackages = with pkgs; [
    ty
    ruff
    marksman
    bash-language-server
    vscode-langservers-extracted
  ];
  languages = {
    language = [
      {
        name = "nix";
        auto-format = true;
      }
      {
        name = "python";
        auto-format = true;
      }
    ];
  };
  settings = {
    theme = "adwaita-dark";
    editor = {
      line-number = "relative";
      bufferline = "multiple";
      color-modes = true;
      statusline = {
        left = [
          "mode"
          "spinner"
        ];
        center = [ "file-name" ];
        right = [
          "diagnostics"
          "selections"
          "position"
          "file-encoding"
          "file-line-ending"
          "file-type"
        ];
        mode = {
          normal = "NORMAL";
          insert = "INSERT";
          select = "SELECT";
        };
      };
      lsp = {
        display-messages = true;
        display-inlay-hints = true;
      };
      cursor-shape = {
        insert = "bar";
        select = "hidden";
      };
      indent-guides = {
        render = true;
        character = "╎";
        skip-levels = 1;
      };
    };
  };
}
